{include file="header.tpl" title='Din profil' logged_in=$logged_in CONFIG=$CONFIG}
<h2>Profil for {$smarty.session.user}

{if $passchange_failed}
	{include file="part_warning.tpl" message="<strong>Byttet ikke passord.</strong><br /><r />Enten var nåværende passord som var gitt feil, eller så var ikke de to instansene av det nye passordet like."}
	<br /><br />
{/if}
<form method="post" action="profile.php" name="profile">
  <table class="table_green" border="0" cellpadding="2" cellspacing="2">

    <tbody>

      <tr>

        <td>Navn</td>

        <td><input name="name" value="{$profile.name}"></td>

      </tr>

      <tr>

        <td>Kontakt info</td>

        <td><textarea cols="30" rows="6" name="contact">{$profile.contact}</textarea></td>

      </tr>

      <tr>

        <td>Annet</td>

        <td><textarea cols="30" rows="6" name="other">{$profile.other}</textarea></td>

      </tr>
<!--
      <tr>

        <td>Tripcode</td>

        <td><input name="tripcode" value="{$profile.tripcode}"><img style="width: 16px; height: 16px;" alt="Forklaring" src="graphic/agt_support_small.png"></td>

      </tr>
      -->
    </tbody>
  </table>

  <br>

  <br>

  <table class="table_green" border="0" cellpadding="2" cellspacing="2">

    <tbody>

      <tr>

        <th>Bytt passord</th>

        <td></td>

      </tr>

      <tr>

        <td>N&aring;v&aelig;rende passord</td>

        <td><input name="passwd" type="password"></td>

      </tr>

      <tr>

        <td>Nytt passord</td>

        <td><input name="new_pass" type="password"></td>

      </tr>

      <tr>

        <td>Gjenta nytt passord</td>

        <td><input name="new_passwd_again" type="password"></td>

      </tr>

    </tbody>
  </table>

  <br>

  <input value="Utf&oslash;r endringer" type="submit"><br>

</form>

<br>

{include file="footer.tpl"}
